# FILE: Literal.py
# DESC: Encapsulates further unclasified web data
#

from WebEntity import WebEntity
from infra.logging import logger

import re

class Literal(WebEntity):

	def __init__(self, data, rf):
		WebEntity.__init__(self, name = data, relevanceFactor = rf)
		log = logger.getLogger()
		log.debug("%s = %s" % (self, self.__dict__))

	'''
	def isSentence(self):
		return re.search(self.utf8Name_
	'''

	def toString(self):
		return self.utf8Name_


	def dump(self):
		return self.__dict__
